package is1;

public class NewDateCommand implements Command 
{
	private String dia;
	private String hora;
	
	public NewDateCommand(String d, String h) 
	{
		dia = d;
		hora = h;
	}

	@Override
	public void execute(VentaEntrada v) 
	{
		v.setFecha(dia, hora);
	}
}
